macro (add_test_program NAME)
	add_executable ("${NAME}" "${NAME}.cpp")
	target_link_libraries ("${NAME}" memchart)
endmacro (add_test_program)

add_test_program (tree)
add_test_program (list)
add_test_program (dlist)
add_test_program (dag)
add_test_program (star)
add_test_program (ring)
add_test_program (complex)
add_test_program (k3-3)
